﻿html,
body,
div,
ul,
li,
a,
nav,
header,
strong,
.selected {
    margin: 0;
    padding: 0;
}

#wrapper {
    width: 960px;
}

a {
    font-size: 2em;
    color: black;
    font-family: Arial;
    text-decoration: none;
    z-index: 99;
}

li.selected {
    background: rgba(13, 48, 66, 0.5);
    border-radius: 15px;
}

li > a {
    display: inline-block;
    padding: 5px 10px;
}

body header {
    background: color-from;
    /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url();
    background: -moz-linear-gradient(top, #002d44 0%, #77d1ff 100%);
    /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #002d44), color-stop(100%, #77d1ff));
    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #002d44 0%, #77d1ff 100%);
    /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #002d44 0%, #77d1ff 100%);
    /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #002d44 0%, #77d1ff 100%);
    /* IE10+ */
    background: linear-gradient(to bottom, #002d44 0%, #77d1ff 100%);
    /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='@color-from', endColorstr='@color-to', GradientType=0);
    /* IE6-8 */
    height: 200px;
}

body header nav {
    padding-top: 50px;
    padding-left: 50px;
}

body header nav ul {
    position: relative;
    list-style-type: none;
}

body header nav ul li {
    display: inline-block;
    z-index: 98;
}

body header nav ul li:hover {
    background: rgba(13, 48, 66, 0.3);
    border-radius: 15px;
}

body header nav ul li > ul {
    position: relative;
    display: none;
}

body header nav ul li > ul li {
    margin-top: -5px;
    z-index: 1;
}

body header nav ul li ul > li:hover {
    background: rgba(13, 48, 66, 0.5);
    border-radius: 15px;
    position: relative;
}

body header nav ul li ul > li > a {
    z-index: 100;
}

body header nav ul li:hover > ul {
    display: block;
    position: absolute;
    left: 0;
}

body header nav ul li ul > li > ul {
    display: none;
    position: absolute;
    margin-top: -5px;
    border-radius: 15px;
    padding: 20px;
    background: #ffffff;
    /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url();
    background: -moz-linear-gradient(top, #ffffff 0%, #7db9e8 100%, #ffffff 100%, #77d1ff 100%);
    /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #7db9e8), color-stop(100%, #ffffff), color-stop(100%, #77d1ff));
    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #ffffff 0%, #7db9e8 100%, #ffffff 100%, #77d1ff 100%);
    /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #ffffff 0%, #7db9e8 100%, #ffffff 100%, #77d1ff 100%);
    /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #ffffff 0%, #7db9e8 100%, #ffffff 100%, #77d1ff 100%);
    /* IE10+ */
    background: linear-gradient(to bottom, #ffffff 0%, #7db9e8 100%, #ffffff 100%, #77d1ff 100%);
    /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#77d1ff', GradientType=0);
    /* IE6-8 */
}

body header nav ul li ul > li > ul li {
    display: block;
    width: 335px;
    left: 0;
    border-bottom: 1px solid black;
}

body header nav ul li ul > li > ul li:last-of-type {
    border: none;
}